package com.profgj.profgj.entity;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

/**
 * (Role)实体类
 *
 * @author makejava
 * @since 2021-07-02 14:15:24
 */
@ApiModel(value = "用户角色",description = "用户角色")
public class Role extends Model<Role> implements Serializable {
    private static final long serialVersionUID = 499410707426971388L;
    /**
     * 角色id
     */
    @ApiModelProperty(value = "角色id")
    private Integer id;
    /**
     * 角色名称
     */
    @ApiModelProperty(value = "角色名")
    private String name;
    /**
     * 角色权限名称
     */
    @ApiModelProperty(value = "角色权限名称")
    private String roleName;
    /**
     * 逻辑删除字段
     */
    @ApiModelProperty(value = "逻辑删除字段")
    @TableLogic
    private Integer deleted;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

}
